import axios from 'axios'
import {commonParams, options, HOST} from './config'

export function getToplist () {
  const url = `${HOST}/toplist/detail`
  return axios.get(url,{withCredentials: true})
}

export function getToplistDetail (id) {
  const url = `${HOST}/playlist/detail?id=${id}`
  return axios.get(url,{withCredentials: true})
}
